Third Party Control Integration

Use Microsoft's Calendar Control to Pick Dates

Code Customization
Use Microsoft's Calendar Control to Pick Dates
Description:

This customization edits a date field value using a third-party control such as Microsoft's ASP.NET Calendar control.

For a Web Application the customization will be added in:

..\<Application Name>\<Table Name>\Edit<Table Name>.Controls.cs

For example: C:\MyApp1\Customers\EditCustomers.Controls.cs


For a Web Site the customization will be added in:

..\<Application Name>\App_Code\<Table Name>\Edit<Table Name>.Controls.cs

For example: C:\MyApp1\App_Code\Customers\EditCustomers.Controls.cs

Procedure:

Step 1:  In Layout Editor locate the cell which contains date field

Add the following HTML code for the third-party Calendar control in Cell editor after your date field control.

    <asp:Calendar id="calendar" runat="server"></asp:Calendar>
    

Step 2:  Display the Properties dialog for the date field and select None in Date Selector section of Display tab.

Step 3:  Use this wizard to add code customization.

Step 4:  Build and run the application.

Applies To:

This code customization is applicable only for pages with an editable record control.

Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.

Terms of Service Privacy Statement